package diva.pap.merchant;

import diva.pap.model.RequestBase;

import diva.android_library.rpc.Response;

import android.content.Context;

public class WaitingTasksRequest extends RequestBase<WaitingTasksRequest> {

  public WaitingTasksRequest(Context context, Response<WaitingTasksRequest> response) {
    super(context, "waiting_tasks", response);
  }

  public String getPendingAffiliates() {
    return data.getNumber("pending_affiliates").intValue() + "";
  }

  public String getPendingCommisions() {
    return data.getNumber("pending_commisions").intValue() + "";
  }

  public String getPendingLinks() {
    return data.getNumber("pending_links").intValue() + "";
  }
}
